<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.prime.com.tr/ui">

<h:head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>SCED</title>
	<h:outputStylesheet library="css" name="leo.css" />
</h:head>

<h:body>
	<h:form>
		
	<div id="bemVindo" align="center">
		<h:graphicImage id="bemVindo"
			value="resources/imagens/boasVindas44.png" />	
	</div><br />
	
	<div id="menuPrincipal" align="center">

			<h:commandLink action="formCadSetor.xhtml?faces-redirect=true">
				<h:graphicImage value="/resources/imagens/setores.png" />
			</h:commandLink>
		
			&nbsp;&nbsp;
			<h:commandLink action="formCadDocumento.xhtml?faces-redirect=true">
				<h:graphicImage value="/resources/imagens/documento.png" />
			</h:commandLink>
		
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			<h:commandLink action="formEnviarDocumento.xhtml?faces-redirect=true">
				<h:graphicImage value="/resources/imagens/enviarDoc.png" />
			</h:commandLink>
			
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
			<h:commandLink action="ListReceberDocumento.xhtml?faces-redirect=true">
				<h:graphicImage value="/resources/imagens/receber.png" />
			</h:commandLink>
			<br /><br /><br />

		<div id="sair" style="height: 20px;">
			<h:graphicImage id="sair" value="resources/imagens/sair.gif" onclick="dlg.show()" />
			<br />
		<h:outputText value="SAIR" />	
		</div><br /><br /><br /><br />
		
			<p:dialog header="Deseja Sair do Sistema ?" modal="true" showEffect="fade" hideEffect="fade" widgetVar="dlg">
				<h:panelGrid columns="2" id="display">
					<p:commandButton value="SIM" action="index?faces-redirect=true" />
					<p:commandButton value="NAO" action="home.xhtml?faces-redirect=true" />	
				</h:panelGrid>
			</p:dialog>

	</div>

	</h:form>
</h:body>

</html>
